import datacenterbizapiexternal.datapush.domain.entity.GuizhouDsitribution;
import datacenterbizapiexternal.datapush.service.GuizhouDistributionService;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;

/**
 * 描述:
 *
 * @author 002465
 * @created 2017/6/21 21:54
 * @return ${return_type}
 * @since v1.0.0
 * ${tags}
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath:config/spring/spring.xml" })
public class GuizhouDistributionJunit {
    @Autowired
    private GuizhouDistributionService guizhouDistributionService;
    @org.junit.Test
    public void test(){
        String filePath = "G:\\corp\\corp_document\\大数据\\接口文档\\external-api\\个旅\\贵州省各地市游客数.xlsx";
        List<GuizhouDsitribution> list = guizhouDistributionService.getGuizhouDsitributionFromExcel(filePath);
    }
}
